package com.dhcc.sdc.busi.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.IBaseService;
import com.dhcc.sdc.busi.entity.SdcBusiQcTriggeredEntity;
import com.dhcc.sds.busi.dto.AnalysisCaseDto;

import java.util.List;
import java.util.Map;


/**
 * 质控条目触发记录表数据服务层接口
 * 
 * @ClassName: ISdcBusiQcTriggeredService
 * @Description: TODO
 * @author zhangdc
 * @date 2022-07-26 14:24:20
 */
public interface ISdcBusiQcTriggeredService extends IBaseService<SdcBusiQcTriggeredEntity> {
	
    List<SdcBusiQcTriggeredEntity> page(Page<SdcBusiQcTriggeredEntity> page, Map<String, Object> map);
    List<SdcBusiQcTriggeredEntity> list(Map<String, Object> map);
    JSONObject selectQcTrendData(Map<String, Object> params);
    List<Map<String, Object>> getQcCaseList(Map<String, Object> params);
    List<Map<String, Object>> selectQcDetailList(Map<String, Object> params);
    JSONObject selectReportTrendData(Map<String, Object> params);
    List<AnalysisCaseDto> selectPatTrendCaseList(Map<String,Object> params);
}
